﻿@model mvcForum.Web.ViewModels.Create.QuickReplyViewModel
@using mvcForum.Web.Helpers;
<div class="row">
	<div class="col-md-12">
		@using (Html.BeginForm("quick", "message", FormMethod.Post, new { @class = "form-horizontal" })) {
			@Html.HiddenFor(t => t.TopicId)
			<h3>@ForumHelper.GetString("CreateMessage.QuickReply")</h3>
			<div class="form-group">
				<label for="editor" class="col-lg-2 control-label">@Html.LabelFor(m => m.Body)</label>
				<div class="col-lg-10">
					@Html.Partial(ForumHelper.GetEditorString() + "Editor", String.IsNullOrEmpty(Model.Body) ? "" : Model.Body)
				</div>
			</div>
			<div class="form-group">
				<div class="col-lg-offset-2 col-lg-10">
					<button type="submit" class="btn btn-primary">@ForumHelper.GetString("CreateMessage.QuickSubmit")</button>
				</div>
			</div>
		}
	</div>
</div>
